package edu.ustb.efws.base.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@ApiModel("删除表")
public class TableDropForm {
    @NotNull
    @Min(201901)
    @Max(210001)
    @ApiModelProperty(value = "开始月份(yyyyMM)", required = true)
    private Integer fromMonth;
    @NotNull
    @Min(201901)
    @Max(210001)
    @ApiModelProperty(value = "结束月份(yyyyMM)", required = true)
    private Integer toMonth;

    public Integer getFromMonth() {
        return fromMonth;
    }

    public void setFromMonth(Integer fromMonth) {
        this.fromMonth = fromMonth;
    }

    public Integer getToMonth() {
        return toMonth;
    }

    public void setToMonth(Integer toMonth) {
        this.toMonth = toMonth;
    }
}
